package asteroids.model.programs.parsing.types;

public class BoolType extends T{

	public BoolType() {
		//Default
		setFalse();
	}
	public void setBooleanValue(boolean value){
		this.booleanValue =value;
	}
	public void setTrue(){
		this.booleanValue = true;
	}
	
	public void setFalse(){
		this.booleanValue = false;
	}
	
	public boolean getBooleanValue(){
		return this.booleanValue;
	}
	
	@Override
	public String toString(){
		//return booleanValue.toString();			werkt niet.. ook al staat dit in api
		return Boolean.toString(getBooleanValue());
	}
	
	private boolean booleanValue;

}
